package learning.groovy.xml

class XMLTest {

	static main(args) {
		def customers=new XmlSlurper().parse(new File('./file/customers.xml'))
		for(customer in customers.corporate.customer){
			println "${customer.@name} works for ${customer.@company}"
		}
	}
}
